﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace ARchGL.Platform.Dtos
{
    /// <summary>
    /// 创建/编辑检验批传入参数
    /// </summary>
    public class CreateCheckPInput : EntityDto<Guid>
    {
        public string Name { get; set; }

        /// <summary>
        /// 透传字段
        /// </summary>
        public string TransInfo { get; set; }

        public Guid ProjectId { get; set; }

        public Guid ModelGroupId { get; set; }

        public Guid[] TemplateIds { get; set; }

    }

    /// <summary>
    /// 进度传入参数 : 透传字段
    /// </summary>
    [Serializable]
    public class CreateMppInput
    {
        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// 计划时间
        /// </summary>
        public DateTime[] PlanTimeRange { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime[] FinishTimeRange { get; set; }

        /// <summary>
        /// 进度标识列
        /// </summary>
        public Guid? MppId { get; set; }
    }

    /// <summary>
    /// 检验批子项参数：透传字段
    /// </summary>
    [Serializable]
    public class CreateChendPChildInput
    {
        /// <summary>
        /// 引用检验批模板Code
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 引用检验批模板父级标识
        /// </summary>
        public Guid ParentId { get; set; }
    }
}
